# @Time    : 2025-06-16 14:07
# @Author: Fioman
# @Phone  : 13149920693
# @Tips      : Talk is cheap,show me the code ^_^
from enum import Enum


class StatusCode(Enum):
    运行 = "1"  # 运行
    待机 = "2"  # 待机
    故障 = "3"  # 故障
    保养 = "4"  # 保养


class AlarmCode(Enum):
    PLC通信异常 = "1"
    相机组连接异常 = "2"
    相机取图异常 = "3"
    设备急停 = "4"
    真空报警异常 = "5"
    数据库了解异常 = "6"


class ReportType(Enum):
    Happen = "S"  # 发生
    Reset = "R"  # 复位


if __name__ == '__main__':
    a = AlarmCode.PLC通信异常.name
    print(a, type(a))
